//
//  SongListTypeCollectionReusableView.m
//  YHYRealx
//
//  Created by yanghuiyan on 16/5/3.
//  Copyright © 2016年 yanghuiyan. All rights reserved.
//

#import "SongListTypeCollectionReusableView.h"
#define Width self.bounds.size.width
#define Height self.bounds.size.height
@implementation SongListTypeCollectionReusableView

- (void)dealloc {
    
    [_label release];
    [super dealloc];
}

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        self.backgroundColor = [UIColor colorWithRed:0.16 green:0.20 blue:0.25 alpha:1.00];
        
        self.label = [[YHYBaseLabel alloc] initWithFrame:CGRectMake(10*Width/416, 10* Height/736, 100*Width/416, Height - 10*Height/736 )];
        _label.textColor = [UIColor colorWithRed:0.47 green:0.49 blue:0.52 alpha:1.00];
        _label.textAlignment = NSTextAlignmentLeft;
        _label.font = [UIFont boldSystemFontOfSize:16];
        [self addSubview:_label];
        
        
    }
    return self;
}


/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
